package com.xiaoming.plugin.tcp.utils;

public class BadRequestException extends RuntimeException {
    private Integer status;

    public BadRequestException(String msg) {
        super(msg);
        this.status = 400;
    }

    public BadRequestException(Exception exception) {
        super(exception);
        this.status = 400;
    }

    public Integer getStatus() {
        return this.status;
    }
}
